package com.qf;

import org.junit.Test;

import java.util.HashMap;
import java.util.Map;

public class test2 {

    @Test
    public void demo01(){
        Map<String ,String> map = new HashMap<>();
        map.put("name","tom");
        System.out.println(map.get("name"));
        map.put("name","jim");
        System.out.println("-=-=-=-=-=-=-=-=-=-=-=-=");
        System.out.println(map.get("name"));
    }


}
